﻿<%	str_xml = get_UTF8_BOM #Function present in fusioncharts_helper library
	
	str_xml +="<?xml version='1.0' encoding='UTF-8'?>"
	str_xml +="<graph caption='Industrie rapport de la production' subCaption='par quantité' decimalPrecision='0' showNames='1' numberSuffix=' Units' pieSliceDepth='30' formatNumberScale='0'>"
	for item in @factory_data
		str_xml += "<set name='"+item[0]+"' value='"+item[1].to_s+"'/>"
	end
	str_xml+="</graph>"
	#Output the xml
 %><%=str_xml%>